package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.Alias;

import javax.persistence.*;
import java.util.Date;

@Data
@Alias(value = "dmcWatchDataHeart")
@Table(name = "cn_dmc_watch_data_heart")
@EqualsAndHashCode(callSuper = true)
public class DmcWatchDataHeart extends BaseEntity {

    private static final long serialVersionUID = -6352816812815621828L;

    /**
     * 设备编号
     */
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 心率数
     */
    @Column(name = "heart_rate")
    private Integer heartRate;

}